package com.hd.crdao.bean;

import java.util.List;

/**
 *
 *@author Programming
 *@date 2017/5/31 0031
 */

public class MyBankCardBean {

    /**
     * success : 00
     * message : 查询成功
     * total : 10
     * rows : [{"id":"0a1b1554d2bf47fe9ff7583de9ce3290","isNewRecord":false,"carBusiness":{"id":"071c3e6096d34ffd8269d16402825a31","isNewRecord":false,"cbName":"Vjkhk","creditNum":0},"bcCardnum":"622700189652886","bcName":"小温","bankCode":{"id":"ABC","isNewRecord":false,"bcNote":"农业银行"},"bcBankname":"66666989","bcBanknum":456980742536987,"bcCardnumber":"58809999","bcBankagreenum":"Df258","bcDefault":"0"}]
     */

    private String success;
    private String message;
    private int total;
    private List<RowsBean> rows;

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * id : 0a1b1554d2bf47fe9ff7583de9ce3290
         * isNewRecord : false
         * carBusiness : {"id":"071c3e6096d34ffd8269d16402825a31","isNewRecord":false,"cbName":"Vjkhk","creditNum":0}
         * bcCardnum : 622700189652886
         * bcName : 小温
         * bankCode : {"id":"ABC","isNewRecord":false,"bcNote":"农业银行"}
         * bcBankname : 66666989
         * bcBanknum : 456980742536987
         * bcCardnumber : 58809999
         * bcBankagreenum : Df258
         * bcDefault : 0
         */

        private String id;
        private boolean isNewRecord;
        private CarBusinessBean carBusiness;
        private String bcCardnum;
        private String bcName;
        private BankCodeBean bankCode;
        private String bcBankname;
        private long bcBanknum;
        private String bcCardnumber;
        private String bcBankagreenum;
        private String bcDefault;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public CarBusinessBean getCarBusiness() {
            return carBusiness;
        }

        public void setCarBusiness(CarBusinessBean carBusiness) {
            this.carBusiness = carBusiness;
        }

        public String getBcCardnum() {
            return bcCardnum;
        }

        public void setBcCardnum(String bcCardnum) {
            this.bcCardnum = bcCardnum;
        }

        public String getBcName() {
            return bcName;
        }

        public void setBcName(String bcName) {
            this.bcName = bcName;
        }

        public BankCodeBean getBankCode() {
            return bankCode;
        }

        public void setBankCode(BankCodeBean bankCode) {
            this.bankCode = bankCode;
        }

        public String getBcBankname() {
            return bcBankname;
        }

        public void setBcBankname(String bcBankname) {
            this.bcBankname = bcBankname;
        }

        public long getBcBanknum() {
            return bcBanknum;
        }

        public void setBcBanknum(long bcBanknum) {
            this.bcBanknum = bcBanknum;
        }

        public String getBcCardnumber() {
            return bcCardnumber;
        }

        public void setBcCardnumber(String bcCardnumber) {
            this.bcCardnumber = bcCardnumber;
        }

        public String getBcBankagreenum() {
            return bcBankagreenum;
        }

        public void setBcBankagreenum(String bcBankagreenum) {
            this.bcBankagreenum = bcBankagreenum;
        }

        public String getBcDefault() {
            return bcDefault;
        }

        public void setBcDefault(String bcDefault) {
            this.bcDefault = bcDefault;
        }

        public static class CarBusinessBean {
            /**
             * id : 071c3e6096d34ffd8269d16402825a31
             * isNewRecord : false
             * cbName : Vjkhk
             * creditNum : 0
             */

            private String id;
            private boolean isNewRecord;
            private String cbName;
            private int creditNum;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getCbName() {
                return cbName;
            }

            public void setCbName(String cbName) {
                this.cbName = cbName;
            }

            public int getCreditNum() {
                return creditNum;
            }

            public void setCreditNum(int creditNum) {
                this.creditNum = creditNum;
            }
        }

        public static class BankCodeBean {
            /**
             * id : ABC
             * isNewRecord : false
             * bcNote : 农业银行
             */

            private String id;
            private boolean isNewRecord;
            private String bcNote;
            private String bcCode;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getBcNote() {
                return bcNote;
            }

            public void setBcNote(String bcNote) {
                this.bcNote = bcNote;
            }

            public String getBcCode() {
                return bcCode;
            }

            public void setBcCode(String bcCode) {
                this.bcCode = bcCode;
            }
        }
    }
}
